package com.cuitrip.business.order.detail.orderstatus;

import com.cuitrip.business.order.detail.ui.IOrderDetailView;
import com.cuitrip.business.order.model.OrderItem;

/**
 * Created by baziii on 15/8/12.
 */
public abstract class IOrderFormPresent<T extends IOrderDetailView> {
    protected T mOrderDetailView;
    protected OrderItem mOrderItem;

    public IOrderFormPresent(T orderDetailView) {
        mOrderDetailView = orderDetailView;
    }

    public void setOrderItem(OrderItem orderItem) {
        mOrderItem = orderItem;
    }

    public abstract void render();

    /**
     * 点击底部按钮
     */
    public abstract void clickBottomAction();

    /**
     * 点击底部文字
     */
    public abstract void clickBottomText();

}
